#ifndef ADDPRODUCT_H
#define ADDPRODUCT_H

#include <QWidget>
#include"mainwidget.h"

namespace Ui {
class AddProduct;
}

class AddProduct : public QWidget
{
    Q_OBJECT

public:
    explicit AddProduct(QWidget *parent = nullptr);
    ~AddProduct();

private slots:
    void on_pushButton_add_clicked();

    void on_pushButton_exit_clicked();

private:
    Ui::AddProduct *ui;


signals:
    void addSuccesseded();   //添加商品成功发送的信号


};

#endif // ADDPRODUCT_H
